<?php use_helper('Validation') ?>
<div align='center'> 
<table >
<tr>
	<td>
		<table class='login' align="center" >
			<tr>
				<td align="center">
					<strong>Ingresar al Sistema</strong>
				</td>
			</tr>
			<tr>
			<td >
				<?php echo form_tag('autenticacion/index' );?>
					<table width="95%" class='login1' align="center">
						<tr>
							<td colspan="2" align="center">
								<?php echo form_error('login', array('class' => 'normalNegro')) ?>
								<?php echo form_error('clave', array('class' => 'normalNegro')) ?>
								<?php if (isset($login_error)) echo "<p class='normalNegro'>$login_error</p>" ;?>
								<?php //echo $div_error ?>
							</td>
						</tr>
						<tr>
							<td width="100%">
								<table border="0" width="100%">
									<tr>
										<td width="30%" align="left"><?php echo label_for('login', 'Usuario') ?>:  </td>
										<td width="70%"><?php echo input_tag('login', null, array('class' => 'normalNegro', 'maxlength' => '32', 'size' => '18' ))?></td>
									</tr>
									<tr>
										<td align="left"><?php echo label_for('clave', 'Contrase&ntilde;a') ?>:</td>
										<td><?php echo input_password_tag('clave', null, array('class' => 'normalNegro', 'maxlength' => '32', 'size' => '18' ))?></td>
									</tr>	
								</table>
							</td>
						</tr>
						<tr>
							<td colspan="2" align="center">
								<?php echo submit_tag('Ingresar', array('class'=>'botonForma', 'title'=>'Haga clic para Ingresar al Sistema') ) ?>&nbsp;&nbsp;
								<?php echo reset_tag('Limpiar', array('class'=>'botonForma') ) ?>
							</td>
						</tr>
						<tr>
						  <td height="20px"></td>
						</tr>
					</table>
					</form>
				</td>
			</tr>
		</table><br>
		</td>
	</tr>
</table>
</div>